import turtle
a = int(input('a的开关1/0'))
b = int(input('b的开关1/0'))

turtle.pencolor('orange')
turtle.pensize(5)
turtle.forward(200)
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(200)
turtle.left(90)
turtle.forward(100)

turtle.up()
turtle.goto(50, 100)
turtle.dot(10, 'red')
turtle.goto(100,100)
if a == 1 and b == 1:
    turtle.dot(50, 'yellow')
else:
    turtle.dot(50, 'black')

turtle.goto(150, 100)
turtle.dot(10, 'green')
turtle.done()

